package com.example.fallback;

import com.example.client.HiClient;
import org.springframework.stereotype.Component;

/**
 * @Author wangyaohan
 * @Date 2021/9/9 14:30
 * @ClassName HiClientFallBack
 */
@Component
public class HiClientFallBack implements HiClient {

    @Override
    public String hi(Long id) {
        return "访问失败！";
    }

    @Override
    public String find() {
        return "访问失败！";
    }
}
